class RemoveCountyFromClient < ActiveRecord::Migration
  extend MigrationHelpers
  def self.up
    remove_foreign_key(:clients, :county_id) 
    remove_index :clients, :county_id
    remove_column :clients, :county_id
  end

  def self.down
    add_column :clients, :county_id, :integer
    add_index :clients, :county_id
    add_foreign_key(:clients, :county_id, :counties)
  end
end